#coding = utf-8

import sqlite3
import os

class DatabankLightSingle:
    bank = None
    debugmode = False #If debugmode is True,the class will output debug information
    debugfile = None #When class run in debug mode,will output details of debug information into this file

    def __init__(self,mode = False):
        if mode == True:
            self.debugmode = True
            self.enableDebug("DefaultDebug.txt")
    
    def connect(self,bankname):
        bank = sqlite3.connect()

    def enableDebug(filename = "Debug.txt"):
        self.debugmode = True
        self.debugfile = open(filename,'a',0,"utf-8")
        return

    def debugOutput(self,information):
        self.debugfile.writelines()
    

def test():
    pass

if __name__ == "__main__":
        test()